package com.itheima.ydd.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
//友情链接管理
public class YddLink {

    private Integer id; //网站id

    private String title;   //网站名称

    private String url; //网址

    private String des;

    private String img;

    private String type; //1.是图片链接,2.是文字链接

    @JsonProperty("default_data")
    private String defaultData; //是否为默认数据,null.不是,1.是
}
